package cn.ljy.quicksnip.web.controller.backstage.qs;


import cn.ljy.authority.web.controller.backstage.BaseBackstageController;
import cn.ljy.quicksnip.model.QsProject;
import cn.ljy.quicksnip.model.query.QsProjectQuery;
import cn.ljy.quicksnip.service.QsProjectService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(tags = "后台理发项目管理模块")
@RestController
@RequestMapping(value = "/backstage/qs/project")
public class QsProjectController extends BaseBackstageController<QsProject, QsProjectQuery,Long> {

    @Autowired
    private QsProjectService baseService;

    @Override
    protected String getAuthorityPrefix() {
        return "qs:project"; // 定义模块权限前缀
    }
}
